/*
 * This file (Constants.java) is protected by the GNU GPL licence (v2). 
 * Please read the license.txt attached for further informations. 
 * 
 */

package org.algoristes.alkwarel.utils;

import java.util.Calendar;

/**
 * Contains all constants shared through all Alkwarel classes.
 * 
 * @author Xavier Gouchet
 * 
 */
public interface Constants {
	
	/** Major release count ({@value}) */
	static final int V_MAJOR = 1;

	/** Minor release count ({@value}) */
	static final int V_MINOR = 0;

	/** Revision count ({@value}) */
	static final int V_REVISION = Calendar.getInstance().get(Calendar.WEEK_OF_YEAR) + 52 - 20;

	/** Full version string ({@value}) */
	static final String V_STR = V_MAJOR + "." + V_MINOR + "." + V_REVISION;
	
	/** Serial Version UID */
	static final long V_SERIAL_UID = 1L;

	/** Title ({@value}) */
	static final String TITLE = "Alkwarel";

	/** Title with current version ({@value}) */
	static final String FULL_TITLE = TITLE + " v" + V_STR;
	
	/** Title used for the Logging API ({@value}) */
	static final String LOGGING_TITLE = "org.algoristes.alkwarel";
	
	/** File extension used for Alkwarel scripts */
	static final String SCRIPT_FILE_EXT = "aks";
	
	/** File extension used for Alkwarel scripts */
	static final String SCRIPT_FILE_NAME = "Alkwarel Script";
	
	/** Directory for temp files ({@value}) */
	static final String DIR_TEMP = "./temp/";

}
